<?php

class user extends DAO{
    
    private $user;
        
    
    public function setUser($user){
        $this->user = $user;
    }
    
    public function getUser() {
        return $this->user;
    }
    
    public function getInfo($param) {
        $res = $this->select_unique("SELECT * FROM funcionario WHERE codigo=$this->user");
        
        return $res[$param];
    }
    

    public function receivingData($post){
        ;
    }
}

?>
